﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace GolfLeague.Models
{
    [MetadataType(typeof(ScoringCalculation_Validation))]
    public partial class ScoringCalculation
    {
    }

    public class ScoringCalculation_Validation
    {
        [Required]
        [StringLength(100)]
        [Display(Name = "Calculation Name")]
        public string CalculationName { get; set; }

        [Required]
        [StringLength(250)]
        public string Formula { get; set; }
    }
}